package com.dnzx.service;

import java.util.List;

import org.dnzx.framework.page.PageResult;

import com.dnzx.model.SubCategoryBO;

public interface ISubCategoryService {

	public void save(SubCategoryBO subCategoryBO) throws Exception;

	public void delete(Long id) throws Exception;

	public void update(SubCategoryBO subCategoryBO) throws Exception;

	public SubCategoryBO get(Long id);

	public SubCategoryBO get(SubCategoryBO subCategoryBO);

	public List<SubCategoryBO> queryList(SubCategoryBO subCategoryBO);

	public PageResult<List<SubCategoryBO>> queryPage(SubCategoryBO subCategoryBO, PageResult<List<SubCategoryBO>> pageResult);

}
